package org.edgegallery.mecm.apm.utils;

/**
 * @program: mecm-apm
 * @description: 返回状态码
 * @author:
 * @create: 2022-10-13 09:30
 **/
public final class ErrorCode {
    private static String prefix = "opensimga.ecm.apm.";
    public static String SuccessCode = "opensigma.common.common.Success";
    public static String PartialSuccess = prefix + "PartialSuccess";
    public static String SuccessMessage = "请求成功.";
    public static String FailMessage = "请求失败.";
    public static String PartialSuccessMessage = "部分请求成功.";

    public static String ErrUnKnown = "UnKnown";
    public static String ErrInvalidReq = prefix + "InvalidRequest";
    public static String ErrInvalidParam = prefix + "InvalidParam";
    public static String ErrNotFound = prefix + "NotFound";
    public static String ErrForbidden = prefix + "Forbidden";
    public static String ErrAlreadyExist = prefix + "AlreadyExist";
    public static String ErrDatabase = prefix + "DatabaseError";
    public static String ErrNetwork = prefix + "NetworkError";
    public static String ErrUpdate = prefix + "CannotUpdate";
    public static String ErrDelete = prefix + "CannotDelete";
    public static String ErrProxyUrl = prefix + "ProxyUrlError";
    public static String ErrProxy = prefix + "ProxyError";
    public static String ErrProxyFile = prefix + "ErrProxyFile";
    public static String ErrInternal = prefix + "InternalError";

}
